home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / utilstem / pathm / pm28.doc < prev   
Encoding:
Text File  |  1993-02-28  |  17.7 KB  |  578 lines

  1.  
  2.  
  3.                           █▀▀▀█
  4.                           █▄▄▄█            ▄  ▄
  5.                           █     █▀▀█ ▀▀█▀▀ █▄▄█
  6.                           █     █▀▀█   █   █  █
  7.  
  8.                     █▀▀█▀▀█
  9.                     █  █  █ █▀▀█ █▀▀▀ ▀▀█▀▀ █▀▀▀ █▀▀█
  10.                     █  █  █ █▀▀█ ▀▀▀█   █   █▀▀▀ █▀█▀
  11.                     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█   ▀   ▀▀▀▀ ▀ ▀▀▀▀
  12.  
  13.  
  14.                                 ══╗     ╔═╗
  15.                                ╔══╝    ╔╩═╣
  16.                                ╚════  ╚══╝
  17.  
  18.  
  19.                    *-*  The Ultimate Path Utility *-*
  20.                             David Smith, 1993
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. -------  WHAT'S NEW 2.8 -----------------------------------------------
  28.  
  29.         EXTREMELY Fast execution.
  30.  
  31.         ADVANCED information on the Path    ( /INFO )
  32.  
  33.         Graph and statistical data on the current environment,
  34.         including how much is used, free, and a bar graph
  35.         displaying this info.               ( /SIZE )
  36.  
  37.  
  38.         ENVIRONMENTAL preferences:
  39.  
  40.   *-----------------------------------REGISTERED VERSION ONLY------*
  41.   |                                                                |
  42.   |  TURBO         *Extremely* fast operation                      |
  43.   |  REPL          Replace one dir with another                    |
  44.   |  CONFIG        Modify CONFIG.SYS for environment stretching    |
  45.   |  NFILE         No configuration file in root directory         |
  46.   |  BOTH          Set both the Master and Active Environments     |
  47.   |  DESIGN3       Show Design #3 as Window Background             |
  48.   |  DESIGN4       Show Design #4 as Window Background             |
  49.   |  DESIGN5       Show Design #5 as Window Background             |
  50.   |                                                                |
  51.   *----------------------------------------------------------------*
  52.  
  53.        ACTIVE        Use Active Environment
  54.        MONO          Use Monochrome Screen Writes
  55.        SHOPATH       Show New Path on Exit
  56.        SHOSTAT       Show Statistics on Exit
  57.        CLRSCR        Clear Screen After Exit
  58.        DESIGN1       Show Design #1 as Window Background
  59.        DESIGN2       Show Design #2 as Window Background
  60.        SOUND         Enable Sounds
  61.        NEXIST        Don't Check Dir Before Adding
  62.        NCHECK        Don't Check for Dir Before Deleting
  63.        NMOUSE        Disable Mouse
  64.  
  65.  
  66.  
  67.         Add Directory to end or beginning of Path.
  68.  
  69.         Delete directory with window.
  70.  
  71.         Authenticity check of directory before delete or add.
  72.  
  73.         Put path in active vs. master environment.
  74.  
  75. -----------------------------------------------------------------------
  76.  
  77.  
  78.  
  79.  
  80.  
  81.   WHAT IS PATH MASTER ?
  82.  
  83.         Changing your path is a pain.  Mainly because you must type
  84. the ENTIRE thing in from scratch, or make 20 different batch files
  85. that change your path that clutter up your hard drive.
  86.  
  87.  
  88.     PATH MASTER solves this by allowing you to:
  89.  
  90.         1) Choose your path from a menu.
  91.  
  92.         2) Totally configure your menu, and change a path quickly
  93.            and easily.
  94.  
  95.         3) Add or delete a directory from the path.
  96.  
  97.         4) Change your path on the command line.
  98.  
  99.         5) Use your mouse to control PATHMASTER
  100.  
  101.         6) Learn about the PATH, how it works, and how
  102.            to both expand and locate it.
  103.  
  104.         7) Showing you exactly how much environment you
  105.            have left, and how much has been used.
  106.  
  107.         8) Allow setting preferences in environmental
  108.            variable.
  109.  
  110.  
  111.  
  112.  
  113. ==== HOW TO OPERATE PATH MASTER ===============================================
  114.  
  115.         To begin, you must configure your favorite paths into the
  116.         configuration file that will be stored in your root
  117.         directory.
  118.  
  119.         Type: PM /E         {edit the configurations}
  120.  
  121.         You have 20 blanks that you may enter paths into.  To move around,
  122.         press [ENTER] after typing a path, or use the arrow keys.
  123.         Regular editing keys are valid in EDIT mode:
  124.         HOME, END, INSERT, DELETE, PgUp, PgDn, ENTER, BACKSPACE
  125.  
  126.         Examples of a valid paths:
  127.  
  128.         C:\DOS;C:\UTILS;C:\TURBO\BIN\INCLUDE
  129.         C:\UTILS
  130.         A:\DOS;C:\PCPLUS;C:\WP51
  131.         D:\STACKER;C:\DOS
  132.  
  133.         (Notice that a valid path consists of NO SPACES, a semicolon
  134.          between the directories, and does NOT include the "PATH="
  135.          statement.)
  136.  
  137.         Fill it up with up to 20 configurations, then press [F10] to
  138.         save and quit.
  139.  
  140.                 Press [F1] for a help screen.
  141.  
  142.         If you are using a MOUSE, ensure your mouse driver is installed,
  143.         and move your mouse up and down to choose from the menu or move
  144.         around the configuration editor.  Press the LEFT button to select
  145.         an item, or press the RIGHT button to escape PathMaster.
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153. ==== USING THE MENU INTERFACE =================================================
  154.  
  155.         Once you're configured, just type: PM    to pull up the
  156.         menu.  Use UP/DOWN arrows, PgUp, PgDn, Home, End to move
  157.         around, then press [ENTER] to choose a new path.
  158.  
  159.         Press [F1] for a help screen.
  160.  
  161.  
  162.  
  163.  
  164.  
  165. ==== USING OTHER OPTIONS ======================================================
  166.  
  167.         On the command line, if you want to remove a directory
  168.         from your path, type: PM /DEL
  169.  
  170.         If you want to add a directory to the END of your
  171.         current path, type: PM /AE
  172.  
  173.         If you want to add a directory to the BEGINNING of your
  174.         current path, type: PM /AB
  175.  
  176.         For a listing of the current path, type: PM /S
  177.  
  178.         To place the path in the Active Environment, instead of
  179.         the Master Environment, type: PM /ACT
  180.  
  181.         To create a totally new path, type: PM [path]
  182.  
  183.                 Press [F1] for a help screen.
  184.  
  185.         To see advanced information on the PATH, how it works,
  186.         how to alter and expand it, etc.  use the /INFO switch.
  187.         This pulls up 15 pages of graphical information.
  188.                 Use up/down arrows or PageUp/PageDown keys
  189.                 to move around the info.  When you are done
  190.                 reading, press [ESC] to exit.
  191.  
  192.         To see the current environment, how much you have used,
  193.         how much free, and a bar graph showing this information,
  194.         use the /SIZE switch.  A box will appear containing this
  195.         stuff, along with the HEX address of the start of your
  196.         current environment.
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205. ==== WHAT IS A "PATH" ? =======================================================
  206.  
  207.         A path is a list of directories that DOS uses to search
  208.         for files that are not in the current directory.
  209.  
  210.         For example, if I am in the C:\DOS directory, and want to
  211.         use PKZIP.EXE to compress a couple of files, then PKZIP.EXE
  212.         would have to be in the current directory.
  213.  
  214.         BUT, if I have PKZIP.EXE in my C:\UTILS directory, then I
  215.         can just type: PATH=C:\UTILS and dos will look in that
  216.         directory in addition to the current one to find PKZIP.EXE.
  217.  
  218.     NOTE: Data files are not included in the search.  DOS only searches
  219.           for executable files (with extension .EXE or .COM).  If that
  220.           executable file needs a data file somewhere other than the
  221.           current directory, it will NOT FIND IT, because DOS tricks
  222.           the executable file into thinking it is in your current directory.
  223.  
  224.  
  225.    So Why Not Just Include ALL My Directories In My Path ????
  226.  
  227.         Because DOS looks through all the directories in your path
  228.       to find a file, it can eat up your hard disk and take forever
  229.       to run a program.
  230.         Including all your regular utilities into one MAIN directory
  231.       reduces the time DOS takes to find files, and saves your hard
  232.       disk from unnecessary use.
  233.  
  234.  
  235.  
  236. == WHY DO I NEED MORE THAN ONE PATH ??? =======================================
  237.  
  238.         When I compile programs, I need my path to include my Turbo C++
  239.       directory, and my Turbo Assembler directory, and also my Utilities
  240.       dir.
  241.         So when programming, I use:
  242.  
  243.                 PATH=C:\TURBO\BIN;C:\UTILS;C:\DOS;C:\TASM
  244.  
  245.         When I use Turbo Pascal, I need the Toolbox directory, the Turbo
  246.       Pascal directory, and of course my utils:
  247.  
  248.                 PATH=C:\UTILS;C:\DOS;C:\TP\TOOLBOX;C:\TP
  249.  
  250.         But when downloading a file from the local BBS, I need my Procomm
  251.       Plus directory, my B: drive (my SCAN program is there), and my
  252.       downloading directory.
  253.  
  254.                 PATH=C:\DOS;C:\;B:\;D:\PCPLUS;C:\DOWNLOAD
  255.  
  256.         Do you see the conflict ?   Without Path Master, I was using
  257.       12 batch files to do all the work.
  258.  
  259.  
  260.  
  261. ==== WHAT IS THE "ACTIVE" AND "MASTER" ENVIRONMENTS ? =========================
  262.  
  263.         When you first turn on your computer, a line is usually included
  264.         in your CONFIG.SYS that says:
  265.                 SHELL=C:\DOS\COMMAND.COM /P
  266.         or      COMSPEC=C:\DOS\COMMAND.COM
  267.  
  268.         This tells DOS that COMMAND.COM will be used as your command
  269.         processor.  So now, when you type: DIR, the directory command
  270.         is extracted from COMMAND.COM and run.
  271.  
  272.         COMMAND.COM contains a space in itself for the Environment.
  273.         These are variables set by you to determine your preferences.
  274.         The Environment holds things like:
  275.                 ■  Your Path
  276.                 ■  Your Prompt
  277.                 ■  Preferences for other programs (like Norton Backup)
  278.  
  279.         You set these things by typing: SET [variable]=[your preference]
  280.         on the command line.
  281.  
  282.         The MASTER Environment is the COMMAND.COM space that is run when
  283.         you first boot up.  Sometimes in your PC dealings, you may want
  284.         to shell out of a program (like Windows).  When you do this,
  285.         you call COMMAND.COM again, and set up a new Environment.
  286.                 This is the ACTIVE environment.
  287.  
  288.         When you shell out, COMMAND.COM copies its environmental space
  289.         into the new COMMAND.COM space.  However, if you change a setting
  290.         (like your Path), the change is only temporary.
  291.                 Because after you exit back into the program your were
  292.         originally in (Windows), by typing: EXIT, the temporary settings
  293.         are lost, and the old Environmental space is used again.
  294.  
  295.  
  296.         Try this experiment:
  297.  
  298.         1   Type: SET PATH=C:\DOS;C:\MASTERPATH   (be sure to include
  299.                                                    the DOS directory)
  300.             You have changed your path to a new one, that includes
  301.             our key-word MASTERPATH.  This will soon dissapear.
  302.  
  303.  
  304.         2         COMMAND.COM               (this won't work unless you
  305.                                              include the directory that
  306.                                              COMMAND.COM is in on line 1)
  307.             A new environment has been started.  It is a copy of the
  308.             Master environment, but overlaps the Master one.  So that
  309.             any changes made to your new environment are only temporary.
  310.  
  311.  
  312.         3        SET
  313.  
  314.             Note the PATH= statement at the bottom.
  315.  
  316.  
  317.         4        SET PATH=ACTIVE_PATH
  318.  
  319.             We changed the Path to Active_Path.  But this change lasts
  320.             only as long as our new COMMAND.COM is active.
  321.  
  322.  
  323.         5        SET
  324.  
  325.             See our new Path at the bottom?  It is now "ACTIVE_PATH".
  326.  
  327.  
  328.        6         EXIT
  329.  
  330.             We now exited our new COMMAND.COM, and have returned to
  331.             the Master Environment. All the changes to our Active
  332.             Environment have dissapeared.
  333.  
  334.  
  335.        7         SET
  336.  
  337.            See our Path?  It's now back to the original one we
  338.            typed at the beginning.  We have returned to the
  339.            Master Environment.
  340.  
  341.  
  342.  
  343.  
  344.  
  345. ====== COMPARISON TO OTHER UTILITIES ==========================================
  346.  
  347.         Compared to other path utils, Path Master blows them away!
  348. Nothing else loads you up with options like these.  Graphical interface,
  349. advanced information, totally re-configure a path, choose from 20
  350. configurations and so much more.
  351.  
  352.         I looked on 27 BBS' including CompuServe, 14 ShareWare CD Roms
  353. and asked around, and only found 3 utils that come close (I had to
  354. eliminate the ones that just added and deleted directories):
  355.  
  356.         PathTool        New World Designs
  357.         PathUtil        ??
  358.         PathEditor      Ray Dittmeier
  359.         SetPath         Donald E. Ekman
  360.  
  361.         Here is a comparison of features:
  362.  
  363.                            ┌ PATHMASTER
  364.                            │   ┌ PathTool
  365.                            │   │   ┌ PathEditor
  366.                            │   │   │   ┌ SetPath
  367.                            │   │   │   │
  368.        ┌─────────────────┬───┬───┬───┬───┐
  369.        │Graphical menu   │ X │   │   │   │
  370.        ├─────────────────┼───┼───┼───┼───┤
  371.        │Multiple configs │ X │   │   │   │
  372.        ├─────────────────┼───┼───┼───┼───┤
  373.        │Both Active and  │ X │ X │   │ X │
  374.        │Master environ.  │   │   │   │   │
  375.        ├─────────────────┼───┼───┼───┼───┤
  376.        │Mouse support    │ X │   │   │   │
  377.        ├─────────────────┼───┼───┼───┼───┤
  378.        │Add path         │ X │ X │ X │ X │
  379.        ├─────────────────┼───┼───┼───┼───┤
  380.        │Delete path      │ X │ X │ X │ X │
  381.        ├─────────────────┼───┼───┼───┼───┤
  382.        │Add to end/begin │ X │ X │   │ X │
  383.        ├─────────────────┼───┼───┼───┼───┤
  384.        │Sound effects    │ X │   │   │   │
  385.        ├─────────────────┼───┼───┼───┼───┤
  386.        │Modify config.sys│ X │   │   │   │
  387.        ├─────────────────┼───┼───┼───┼───┤
  388.        │Stretch environ  │ X │ X │   │   │
  389.        │if needed        │   │   │   │   │
  390.        ├─────────────────┼───┼───┼───┼───┤
  391.        │Run-time advanced│ X │   │   │   │
  392.        │path info.       │   │   │   │   │
  393.        └─────────────────┴───┴───┴───┴───┘
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402. ===== REGISTRATION ============================================================
  403.  
  404.  
  405.         There are two registration options:
  406.  
  407.         1) $10.00 registers Path Master, gets you the *special* version
  408.            including lots of options not available otherwise.
  409.            This allows unlimited upgrades to Path Master, and free
  410.            technical support by mail or by CompuServe.
  411.  
  412.         2) $20.00 gets you the Dave Utils disk.  See the enclosed
  413.            CATALOG.EXE file for details.  This also gets you the updated
  414.            PathMaster, unlimited upgrades and technical support as
  415.            described above.
  416.            You also get over 30 more utils, and unlimited upgrades on
  417.            those also, new information about other stuff I create, etc.
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428. = EXAMPLES ====================================================================
  429.  
  430.  
  431.  
  432.         PM /E
  433.  
  434.   Edits the current configuration file.
  435.  
  436.  
  437.  
  438.         PM /AE
  439.  
  440.   Pulls up a window and prompts you to add a directory
  441.   to the current path.  It will be added to the END
  442.   of the path.
  443.  
  444.  
  445.  
  446.         PM /AB
  447.  
  448.   Pulls up a window and prompts you to add a directory
  449.   to the current path.  It will be added to the BEGINNING
  450.   of the path.
  451.  
  452.  
  453.  
  454.         PM /DEL
  455.  
  456.   Pulls up a window and prompts you to delete a directory
  457.   in the current path.
  458.  
  459.  
  460.  
  461.         PM C:\DOS;A:\TP\TOOLBOX
  462.  
  463.   Creates a new path that consists of c:\dos and a:\tp\toolbox
  464.   directories.
  465.  
  466.  
  467.  
  468.         PM /?
  469.  
  470.   Shows the help screen.
  471.  
  472.  
  473.  
  474.         PM /S
  475.  
  476.   Displays current path on the screen.
  477.  
  478.  
  479.  
  480.         PM /INFO
  481.  
  482.    Shows fifteen pages of useful information concerning the Path
  483.    and advanced items that allow you to expand your environment
  484.    and better understand how your computer works.
  485.  
  486.  
  487.  
  488.         PM /SIZE
  489.  
  490.    Displays a bar graph of how much space you have used in your
  491.    environment, the hex address of the current environment's
  492.    beginnings, and other useful stuff.
  493.  
  494.  
  495.  
  496.         PM /ACT
  497.  
  498.    Pulls up the path menu as usual, but adds the selected path
  499.    to the Active Environment (see above details about Active
  500.    and Master Environments).
  501.  
  502.  
  503.  
  504.  
  505.  
  506.         To use the environmental variable PM, use the following
  507.         format:
  508.  
  509.         SET PM= [your preference]
  510.  
  511.         You can put this line in your AUTOEXEC.BAT, or create a
  512.         batch file called P.BAT that contains the following
  513.         lines:
  514.  
  515.         SET PM= [your preference]
  516.         PM.EXE
  517.  
  518.         That way, whenever you start PathMaster, your preferences
  519.         will already be set.
  520.  
  521.  
  522. USAGE:  SET PM=[preference],[preference],[preference],  ...
  523.  
  524.  
  525. EXAMPLES:       SET PM=MONO,SOUND,DESIGN1
  526.  
  527.         Sets monochrome ability, enables sound and uses Design1
  528.         as your background for window operation.
  529.  
  530.                 SET PM=SOUND,ACTIVE,NMOUSE,SHOPATH
  531.  
  532.         Enables sound, writes new path into Active Environment,
  533.         disables mouse, and shows new path on exit.
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540. ===== TECHNICAL NOTES =========================================================
  541.  
  542.         Path Master works by scanning the PSP of COMMAND.COM, locating
  543.         the environment segment, then altering it.
  544.         The Active environment is affected by stuffing the keyboard
  545.         buffer with a batch file that changes the environment.
  546.  
  547.         I have tried this technique (with success) on 9 different
  548.         machines, all of which worked fine.  There may, however,
  549.         be bugs when running with some systems.
  550.  
  551.         If you find a bug, or lock up this program, please report
  552.         it to me by:
  553.  
  554.         COMPUSERVE           71441,2723
  555.  
  556.         or by Mail:             David Smith
  557.                                1104 Mason Dr.
  558.                                Hurst TX 76053
  559.  
  560.         If you find a verifiable bug, please report it so that I can
  561.         fix it.
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.   A GREAT DEAL !
  573.  
  574.         See the included CATALOG.EXE to order Dave's Disk full of
  575.         Utilities.  For only $20.00, it's a definite bargain !
  576.  
  577.  
  578.